import request from '@/utils/request'

// 客户关联列表
export function customerRelevanceLists(params?: Record<string, any>) {
    return request.get({ url: '/customerRelevance/list', params })
}

// 客户关联详情
export function customerRelevanceDetail(params: Record<string, any>) {
    return request.get({ url: '/customerRelevance/detail', params })
}

// 客户关联新增
export function customerRelevanceAdd(params: Record<string, any>) {
    return request.post({ url: '/customerRelevance/add', params })
}

// 客户关联编辑
export function customerRelevanceEdit(params: Record<string, any>) {
    return request.post({ url: '/customerRelevance/edit', params })
}

// 客户关联删除
export function customerRelevanceDelete(params: Record<string, any>) {
    return request.post({ url: '/customerRelevance/del', params })
}
